package com.baizhi.feign;

import com.baizhi.po.CategoriesPO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("CATEGORIES")
public interface CategoriesFeign {
    @GetMapping("categories/{id}")
    CategoriesPO queryById(@PathVariable("id") Integer id);
}
